package com.xinsoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinsoft.entity.dto.ScmSaleOutstockDTO;
import com.xinsoft.entity.dto.ScmSaleOutstockParam;
import com.xinsoft.entity.po.ScmSaleOutstock;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.vo.ScmSaleOutstockListVo;
import com.xinsoft.entity.vo.ScmSaleOutstockVo;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_sale_outstock(销售出库)】的数据库操作Service
* @createDate 2023-07-20 15:20:16
*/
public interface ScmSaleOutstockService extends IService<ScmSaleOutstock> {

    IPage<ScmSaleOutstockListVo> findPageListByParam(ScmSaleOutstockParam param);

    List<ScmSaleOutstockListVo> findListByParam(ScmSaleOutstockParam param);

    List<ScmSaleOutstockListVo> findList(List<Integer> idList, List<Integer> materialIdList);

    Integer tempSave(ScmSaleOutstockDTO scmSaleOutstockDTO);

    ScmSaleOutstockVo detail(Integer id);

    void del(List<Integer> ids);

    void audit(Integer id);

    void reverseAudit(Integer id);
}
